| i2 = float(i2) |
| i1 = float(i1) |
| print(i1 + i2) |
| print("Enter two floats") |
| i2 = input() |
| i1 = input() |
| print("Result:") |
| 1 | print("Enter two floats") |
| 2 | i1 = input() |
| 3 | i1 = float(i1) |
| 4 | i2 = input() |
| 5 | i2 = float(i2) |
| 6 | print("Result:") |
| 7 | print(i1 + i2) |
| i3 = input() |
| print(i1 + i2 + i3 + i4) |
| i2 = input() |
| i4 = input() |
| print("Enter four characters") |
| i1 = input() |
| print("Your word:") |
| 1 | print("Enter four characters") |
| 2 | i1 = input() |
| 3 | i2 = input() |
| 4 | i3 = input() |
| 5 | i4 = input() |
| 6 | print("Your word:") |
| 7 | print(i1 + i2 + i3 + i4) |
| i = input() |
| print("Enter a character to go before 'ame' to make a word") |
| print("Your word") |
| i = i + "ame" |
| print(i) |
| 1 | print("Enter a character to go before 'ame' to make a word") |
| 2 | i = input() |
| 3 | i = i + "ame" |
| 4 | print("Your word") |
| 5 | print(i) |
| i2 = int(i2) |
| i1 = input() |
| print(i1 + i2 + i3) |
| print("Enter three numbers and I will add them together") |
| print("Result:") |
| i3 = int(i3) |
| i2 = input() |
| i1 = int(i1) |
| i3 = input() |
| 1 | print("Enter three numbers and I will add them together") |
| 2 | i1 = input() |
| 3 | i1 = int(i1) |
| 4 | i2 = input() |
| 5 | i2 = int(i2) |
| 6 | i3 = input() |
| 7 | i3 = int(i3) |
| 8 | print("Result:") |
| 9 | print(i1 + i2 + i3) |
| print(s3) |
| s3 = s1 + "-" + s2 |
| s2 = input() |
| print("Enter two strings") |
| s1 = input() |
| 1 | print("Enter two strings") |
| 2 | s1 = input() |
| 3 | s2 = input() |
| 4 | s3 = s1 + "-" + s2 |
| 5 | print(s3) |
| else: |
| print("They were identical") |
| s1 = input() |
| print("Enter two strings that are identical") |
| print("They were not identical") |
| s2 = input() |
| if s1 == s2: |
| else: |
|   print("They were identical") |
| s1 = input() |
| print("Enter two strings that are identical") |
|   print("They were not identical") |
| s2 = input() |
| if s1 == s2: |
| 1 | print("Enter two strings that are identical") |
| 2 | s1 = input() |
| 3 | s2 = input() |
| 4 | if s1 == s2: |
| 5 |   print("They were identical") |
| 6 | else: |
| 7 |   print("They were not identical") |
| print("Enter a number greater than 10") |
| else: |
| print("That wasn't greater than 10") |
| if i1 > 10: |
| i1 = input() |
| print("That is greater than 10") |
| i1 = int(i1) |
| print("Enter a number greater than 10") |
| else: |
|   print("That wasn't greater than 10") |
| if i1 > 10: |
| i1 = input() |
|   print("That is greater than 10") |
| i1 = int(i1) |
| 1 | print("Enter a number greater than 10") |
| 2 | i1 = input() |
| 3 | i1 = int(i1) |
| 4 | if i1 > 10: |
| 5 |   print("That is greater than 10") |
| 6 | else: |
| 7 |   print("That wasn't greater than 10") |
| 8 |    |
| i3 = int(i3) |
| i1 = int(i1) |
| print("Enter three numbers and I will multiply them together") |
| i3 = input() |
| i1 = input() |
| print(i1 * i2 * i3) |
| i2 = int(i2) |
| i2 = input() |
| 1 | print("Enter three numbers and I will multiply them together") |
| 2 | i1 = input() |
| 3 | i1 = int(i1) |
| 4 | i2 = input() |
| 5 | i2 = int(i2) |
| 6 | i3 = input() |
| 7 | i3 = int(i3) |
| 8 | print(i1 * i2 * i3) |
| i1 = input() |
| i1 = int(i1) |
| print("That is correct") |
| i2 = int(i2) |
| print("Enter a number that is larger") |
| print("The second number is smaller") |
| if i2 > i1: |
| i2 = input() |
| else: |
| print("Enter a number") |
| i1 = input() |
| i1 = int(i1) |
|     print("That is correct") |
| i2 = int(i2) |
| print("Enter a number that is larger") |
|     print("The second number is smaller") |
| if i2 > i1: |
| i2 = input() |
| else: |
| print("Enter a number") |
| 1 | print("Enter a number") |
| 2 | i1 = input() |
| 3 | i1 = int(i1) |
| 4 | print("Enter a number that is larger") |
| 5 | i2 = input() |
| 6 | i2 = int(i2) |
| 7 | if i2 > i1: |
| 8 |     print("That is correct") |
| 9 | else: |
| 10 |     print("The second number is smaller") |
| i2 = int(i2) |
| i3 = input() |
| i1 = input() |
| print("Correct") |
| print("That is not correct, they add up to") |
| else: |
| if total == 20: |
| total = i1 + i2 + i3 |
| i3 = int(i3) |
| i1 = int(i1) |
| i2 = input() |
| print("Enter three numbers that add up to 20") |
| print(total) |
| i2 = int(i2) |
| i3 = input() |
| i1 = input() |
|   print("Correct") |
|   print("That is not correct, they add up to") |
| else: |
| if total == 20: |
| total = i1 + i2 + i3 |
| i3 = int(i3) |
| i1 = int(i1) |
| i2 = input() |
| print("Enter three numbers that add up to 20") |
|   print(total) |
| 1 | print("Enter three numbers that add up to 20") |
| 2 | i1 = input() |
| 3 | i2 = input() |
| 4 | i3 = input() |
| 5 | i1 = int(i1) |
| 6 | i2 = int(i2) |
| 7 | i3 = int(i3) |
| 8 | total = i1 + i2 + i3 |
| 9 | if total == 20: |
| 10 |   print("Correct") |
| 11 | else: |
| 12 |   print("That is not correct, they add up to") |
| 13 |   print(total) |
| print("Enter two strings that are not identical") |
| s1 = input() |
| s2 = input() |
| print("Well done!") |
| if s1 != s2: |
| else: |
| print("Those strings were identical") |
| print("Enter two strings that are not identical") |
| s1 = input() |
| s2 = input() |
|   print("Well done!") |
| if s1 != s2: |
| else: |
|   print("Those strings were identical") |
| 1 | print("Enter two strings that are not identical") |
| 2 | s1 = input() |
| 3 | s2 = input() |
| 4 | if s1 != s2: |
| 5 |   print("Well done!") |
| 6 | else: |
| 7 |   print("Those strings were identical") |